using UnityEngine;
using QFramework;

namespace ProjectSurvival
{
	public partial class HitHurtBox : GamePlayObject
	{
		private Collider2D _collider;

		private void Awake()
		{
			_collider = GetComponent<Collider2D>();
		}
		public GameObject Owner;
		void Start()
		{
			if (!Owner)
			{
				Owner = transform.parent.gameObject;
			}
		}

		protected override Collider2D Collider => _collider;
	}
}
